<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css轮廓</title>
    <style>
.out-line{
    margin-top: 50vh;
    padding-left: 40vw;
    margin-left: 10vw;
    margin-right: 10vw;
    outline:1px dotted #876544;
    outline-offset: 10px;
}
    </style>
</head>
<body>
    <div class="out-line">
        outline
    </div>
</body>
</html>